package wwl.lsf.testBytype;

import java.util.List;
import java.util.Map;
import org.apache.catalina.User;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import wwl.lsf.AppConfig;
import wwl.lsf.ScoreDao;

public class Test {

  public static void main(String[] args) {

    AnnotationConfigApplicationContext annotationConfigApplicationContext =
        new AnnotationConfigApplicationContext(AppConfig.class);
    System.out.println();
    UserService bean = annotationConfigApplicationContext.getBean(UserService.class);
    bean.printRole();

  }

}
